Script Flag Definitions
1
// each line has the flag name followed by the type.  Valid types are string, bool, int, float, percent, keys, function, and enum followed by a pipe and list of enums separated by commas.
|script_flag_definitions
//Stuff that affects units directly
add_random_skills string unit,skill,item
add_random_skill_chance percent unit,skill,item
random_name string unit
death_sound string unit
switch_places bool skill,item

//Summoning
summon_random string skill,item
summon_rare_random string skill,item
summon_rare_random_chance percent skill,item
summon_success_message string skill,item
summon_success_sound string skill,item

//Effects
apply_effects string skill,item
apply_effects_chance percent skill,item
apply_sound string effect
apply_message string effect
remove_effects string skill,item
remove_effects_chance percent skill,item
removal_sound string effect
removal_message string effect
start_turn_sound string effect
end_turn_sound string effect
effects_after_movement string unit
// effects_after_movement_splash_range int unit,effect
// splash_effects_after_movement string unit,effect

//Item creation
create_items string skill,item
create_item_on_failed_use bool item
create_items_chance percent skill,item
create_rare_items string skill,item
create_rare_items_chance percent skill,item
creation_message string skill,item

//Flight
remove_flying bool item,effect
grant_flight_on_equip bool item

//Descriptors
aditional_description string skill,item,effect
remove_aditional_description string skill,item

//Inventory
steal_item bool skill
steal_item_message string skill
random_inventory_items string unit

//After damage
after_damage_sound string unit
source_effects_after_damage string unit,skill,item,effect
target_effects_after_damage string unit

//Damaging stuff
random_damage string skill,item
drain_point string skill,item

//For countering
counter_attack string unit,skill
//counter_attack_inflict string unit,skill
//counter_attack_inflict_mod string item,effect
//counter_attack_drain string unit,skill
counter_attack_chance percent unit,skill
counter_attack_chance_mod percent item,effect
counter_attack_cost string unit,skill
//counter_attack_cost_mod string item,effect
counter_attack_damage_points string unit
counter_attack_message string unit,skill
counter_attack_range int unit,skill
counter_attack_sound string unit,skill
cannot_be_countered bool unit,skill,item,effect
cannot_counter bool item,effect

//Effects on amount. Experimental for the moment.
//effects_on_amount string unit
//effects_at_percent string unit

//absorb_damage string unit,skill,item,effect

